import java.util.Locale;

public class test {
        public static void main(String[] args) {
            String str1="abCD";
            String a=str1.toLowerCase(Locale.ROOT);
            System.out.println(a);
        }
        public static void main2(String[] args) {
            String str="Hello, my name is John";
            String[] s=str.split(" ");
            System.out.println(s.length);
        }
        public static void main1(String[] args) {
            String s1="abc"+"def";//1
            String s2=new String(s1);//2
            if(s1.equals(s2))//3
                System.out.println(".equals succeeded");//4
            if(s1==s2)//5
                System.out.println("==succeeded");//6
        }

//    public static boolean isAdmin(String userId){
//            return userId.toLowerCase()=="admin";
//    }
//    public static void main(String[] args){
//        System.out.println(isAdmin("Admin"));
//    }

}

